package com.ruoyi.forum.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PostCollectUpvote {

    @NotNull(message = "用户id不能为空")
    private Long userId;

    @NotNull(message = "帖子id不能为空")
    private Long postId;
}
